const express = require('express')

const router = express.Router()

// 导入路由模块
const apiRouter = require('./api/index.js')
// const pageRouter = require('./page/index.js')

// router.use(require('../../middleware/cors.js'))

// 处理功能的
router.use('/api', apiRouter)

// 显示页面的
// router.use('/page', pageRouter)

module.exports = router